package com.fortune.dto.in.dStoreIn;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * Created by Administrator on 2018/5/26 0026.
 */
public class DStoreInitProduceDto {
    @NotNull(message="商品ID不能为空")
    @ApiModelProperty(example="商品ID")
    private String mpid;
    @NotBlank(message="初始化数量不能为空")
    @ApiModelProperty(example="初始化数量")
    private String num;
    @NotBlank(message="经销商id不能为空")
    @ApiModelProperty(example="经销商id")
    private String mid;

    @NotNull(message="库存成本不能为空")
    @ApiModelProperty(example="库存成本")
    private BigDecimal price;

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getMpid() {
        return mpid;
    }

    public void setMpid(String mpid) {
        this.mpid = mpid;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }
}
